﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using welding.Model;

namespace welding.Controller
{
    class ReprintBarcodeController
    {
        private string cmdString;
        private ReprintBarcodeResponseClass reprintBarcodeResponse;

        public  ReprintBarcodeController()
        {
        }

        public ReprintBarcodeController(string cmdString)
        {
            this.cmdString = cmdString;
            this.ReprintBarcodeResponse = JsonConvert.DeserializeObject<ReprintBarcodeResponseClass>(cmdString);
        }

        public string CmdString { get => cmdString; set => cmdString = value; }
        internal ReprintBarcodeResponseClass ReprintBarcodeResponse { get => reprintBarcodeResponse; set => reprintBarcodeResponse = value; }


    }
}
